<?php
$TipoUsuario = $_SESSION['UT'];

?>
<table class="buttonsMenu" width="178px" border="0" cellspacing="0" cellpadding="0" ID="Table1">
    <tr height="25px">
        <td class="blue" align="center" valign="middle" bgcolor="white" background="image/table_top.gif" style="background-repeat:repeat-y;">
            PROYECTO
        </td>
    </tr>
    <tr height="1px">
        <td></td>
    </tr>

    <tr height="25px" valign="middle">
        <td align="left" valign="middle" bgcolor="#d9e1e9">
            <a href="sisadpro.php?side=proy&content=listProy">&nbsp;&nbsp;&gt;&nbsp;Ver Proyectos</a>
        </td>
    </tr>
    <tr height="1px">
        <td></td>
    </tr>

    <tr height="25px" valign="middle">
        <td align="left" valign="middle" bgcolor="#d9e1e9">
            <a href="sisadpro.php?side=proy&content=descargar">&nbsp;&nbsp;&gt;&nbsp;Ver Plantillas</a>
        </td>
    </tr>
    <tr height="1px">
        <td></td>
    </tr>

    <?php
    if($TipoUsuario == 2) {
        echo("<tr height='25px' valign='middle'>");
        echo("<td align='left' valign='middle' bgcolor='#d9e1e9'>");
        echo("<a href='sisadpro.php?side=proy&content=crearP'>&nbsp;&nbsp;&gt;&nbsp;Crear Proyecto</a>");
        echo("</td></tr><tr height='1px'><td></td></tr>");
    }
    ?>

    <tr height="25px" valign="middle">
        <td align="left" valign="middle" bgcolor="#d9e1e9">
            <a href="sisadpro.php?side=proy&content=buscar">&nbsp;&nbsp;&gt;&nbsp;Buscar Proyecto</a>
        </td>
    </tr>
    <tr height="1px">
        <td></td>
    </tr>

    <tr height="25px" valign="middle">
        <td align="left" valign="middle" bgcolor="#d9e1e9">
            <a href="sisadpro.php?side=proy&content=uc">&nbsp;&nbsp;&gt;&nbsp;Mas</a>
        </td>
    </tr>
    <tr height="1px">
        <td></td>
    </tr>

    <tr height="12px">
        <td align="left" valign="middle" bgcolor="white" background="image/table_bottom.gif" style="background-repeat:repeat-y;"></td>
    </tr>
</table>
